﻿#region Copyright(C) 2018 FI Ltd. All rights reserved.
// ==================================================================================================
// Copyright(C) 2018 FI Ltd. All rights reserved.
//
// SYSTEM NAME	    : FI.Net Application Framework
// COMPONENT ID	    : FI.Core
// COMPONENT DESC   : FI.Net Core Foundation
//
// CREATED DATE/BY  : 18 Aug 2018 / Tian Mi
//
// REVISION HISTORY :	
// DATE/BY			SR#/CS/PM#/OTHERS		DESCRIPTION OF CHANGE
// ==================================================================================================
#endregion

namespace FI.Core.Caching
{
    /// <summary>
    /// This enumeration defines 5 cache item expiration modes.
    /// </summary>
    public enum CacheItemExpirationMode
    {
        /// <summary>
        /// Correspond to <see cref="AbsoluteTime"/>.
        /// </summary>
        AbsoluteTime,

        /// <summary>
        /// Correspond to <see cref="SlidingTime"/>.
        /// </summary>
        SlidingTime,

        /// <summary>
        /// Correspond to <see cref="TimeFormat"/>.
        /// </summary>
        TimeFormat,

        /// <summary>
        /// Correspond to <see cref="FileDependency"/>.
        /// </summary>
        FileDependency,

        /// <summary>
        /// Correspond to <see cref="NeverExpired"/>.
        /// </summary>
        NeverExpired
    }
}